define({ "api": [
  {
    "name": "add",
    "version": "0.0.1",
    "group": "ProductAPI",
    "type": "POST",
    "url": "http://vova-merchant.sfc.com/product/add",
    "title": "Add",
    "description": "<p>添加商品</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "JSON",
            "optional": false,
            "field": "data",
            "description": "<p>商品数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "data: [\n         {\n             // 必填，类目ID\n             cat_id: 5784,\n             // 必填，商品名\n             goods_name: 'Test product',\n             // 必填，Parent SKU\n             parent_sku: 'Parent SKU',\n             // 必填, 商品主图\n              main_image_url: 'https://image-tb.vova.com/image/500_500/filler/f6/22/79ab4c168e6ad1b090d3c575f65bf622.jpg',\n             // 可选值，本地上传的主图\n             main_image: '',\n             // 必填，商品承运重量\n             shipping_weight: 0.8,\n             // 可选值，运输时长\n             shipping_time: '15-45 Days',\n             // 可选值，商品描述\n             goods_description: 'Test product description',\n             // 可选值，商品标签\n             tags: 'tag1,tag2,tag3',\n             // 必填，固定值\n             platform_version: 'vova_manual',\n             // 必填（多行），格式：[[sku,售价,市场价,运费,库存,尺码,颜色,款式数量,子产品图片URL地址,子产品图片上传地址],...]\n             sku_info: [['sku1',2.5, 5.5, 0, 10, 7.5, 'Black', 10, 'https://image-tb.vova.com/image/500_500/filler/f6/22/79ab4c168e6ad1b090d3c575f65bf622.jpg', '']],\n         }\n]",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product-API.php",
    "groupTitle": "Product API"
  },
  {
    "name": "delete",
    "version": "0.0.1",
    "group": "ProductAPI",
    "type": "POST",
    "url": "http://vova-merchant.sfc.com/product/delete",
    "title": "Delete",
    "description": "<p>删除商品</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "JSON",
            "optional": false,
            "field": "data",
            "description": "<p>要删除商品ids</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "data: [123456, 456789]",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product-API.php",
    "groupTitle": "Product API"
  },
  {
    "name": "details",
    "version": "0.0.1",
    "group": "ProductAPI",
    "type": "POST",
    "url": "http://vova-merchant.sfc.com/product/details",
    "title": "Details",
    "description": "<p>商品详情</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "JSON",
            "optional": false,
            "field": "data",
            "description": "<p>商品SKU</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "'data': [\n     'search' => [\n         'search_type' => 'parent_sku',\n         'search_keywords' => '123456',\n     ],\n     'pageArr' => [\n         'perPage' => 100,\n         'page' => 1\n     ],\n     'goods_state_filter' => 'on_sale_and_off_sale_and_wait_for_check'\n]",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product-API.php",
    "groupTitle": "Product API"
  },
  {
    "name": "getImages",
    "version": "0.0.1",
    "group": "ProductAPI",
    "type": "POST",
    "url": "http://vova-merchant.sfc.com/product/getImages",
    "title": "getImages",
    "description": "<p>获取商品图片</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "JSON",
            "optional": false,
            "field": "data",
            "description": "<p>商品ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "'data': [\n     {'goods_id': '123456'}\n]",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "code",
            "description": "<p>状态码</p>"
          },
          {
            "group": "Success 200",
            "type": "Array",
            "optional": false,
            "field": "sku_list",
            "description": "<p>图片列表</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": \"200\",\n     \"sku_list\": [\n         {\n             \"old_goods_id\": \"999999\",\n             \"sku_id\": \"62262541\",\n             \"pdd_sku\": \"999999\",\n             \"img_url\": \"c6\\/98\\/8ba29e6143f71febd1fcf47b97a3c698.jpg\",\n             \"style_info\": \"color:Red,size:7\"\n         }\n     ]\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "Number",
            "optional": false,
            "field": "code",
            "description": "<p>状态码</p>"
          },
          {
            "group": "Error 4xx",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>错误描述信息</p>"
          },
          {
            "group": "Error 4xx",
            "type": "Array",
            "optional": false,
            "field": "data",
            "description": "<p>额外数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\":\"40001\",\n     \"message\":\"错误描述\",\n     \"data\": []\n}",
          "type": "json"
        }
      ]
    },
    "filename": "source/Product-API.php",
    "groupTitle": "Product API"
  },
  {
    "name": "update",
    "version": "0.0.1",
    "group": "ProductAPI",
    "type": "POST",
    "url": "http://vova-merchant.sfc.com/product/update",
    "title": "Update",
    "description": "<p>删除商品</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>更新类型，包括：<ul><li>Shipping_Price(更新运费和产品价格)</li><li>Sales(上架或下架)</li><li>Title(商品标题)</li><li>Inventory(库存)</li><li>Description(描述)</li><li>Shipping_Fee(国际运费)</li><li>Size(尺码)</li></ul></p>"
          },
          {
            "group": "Parameter",
            "type": "JSON",
            "optional": false,
            "field": "data",
            "description": "<p>更新数据</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Example 更新标题:",
          "content": "type: \"Title\",\ndata: [\n         {\n             goods_id:123456，\n             original_goods_name: 'Old product name',\n             goods_name: 'New product name',\n         }\n]",
          "type": "POST"
        },
        {
          "title": "Example 更新描述:",
          "content": "type: \"Description\",\ndata: [\n         {\n             goods_id:123456，\n             parent_sku: 'Parent SKU',\n             goods_desc: 'New product description',\n         }\n]",
          "type": "POST"
        },
        {
          "title": "Example 更新库存:",
          "content": "type: \"Inventory\",\ndata: [\n         {\n             goods_id: 123456,\n             data: [\n                 {goods_sku: 'Child SKU 1', sku_id: \"child goods id1\": inventory: 10},\n                 {goods_sku: 'Child SKU 2', sku_id: \"child goods id2\": inventory: 15}\n             ]\n         }\n]",
          "type": "POST"
        },
        {
          "title": "Example 上架:",
          "content": "type: \"Sales\",\ndata: [\n         {\n             goods_id: 123456,\n             action: \"on\"\n         }\n]",
          "type": "POST"
        },
        {
          "title": "Example 下架:",
          "content": "type: \"Sales\",\ndata: [\n         {\n             goods_id: 123456,\n             action: \"off\"\n         }\n]",
          "type": "POST"
        },
        {
          "title": "Example 更新价格和运费:",
          "content": "type: \"Shipping_Price\",\ndata: [\n         {\n             goods_id: 123456,\n             parent_sku: \"Parent SKU\",\n             shop_price: 9.99,\n             shipping_fee: 3.99\n         }\n]",
          "type": "POST"
        },
        {
          "title": "Example 国际运费:",
          "content": "type: \"Shipping_Fee\",\ndata: [\n         goods_id: 123456,\n         shippingList: [\n             {region_id: 3925, shipping_fee: 5},\n             {region_id: 3926, shipping_fee: 10}\n         ]\n]",
          "type": "POST"
        },
        {
          "title": "Example 尺码:",
          "content": "type: \"Size\",\ndata: [\n         {\n             goods_id: 123456,\n             data: [\n                 [\"Size\",\"S\",\"M\",\"L\"],\n                 [\"Length\",\"10\",\"15\",\"20\"]\n             ]\n         }\n]",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product-API.php",
    "groupTitle": "Product API"
  },
  {
    "name": "BatchShippingFeeUpdate",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/editInternationalShipping/upload",
    "title": "批量编辑国际运费",
    "description": "<p>批量编辑商品国际运费，根据客户选择收获国家不同自动计算对应国家运费。注意：<ol><li>在此编辑每个商品的国家运费且国际运费不得超过商品SKU最高价或者10美金，上限取两者较大值。（例如：商品SKU最高价为4美金，则取10美金为上限；商品SKU最高价为15美金，则取15美金为上限。）</li><li>如果您要取消某商品某国家的国家运费，您可以在对应商品对应国家下填写disable。</li></ol></p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "upload-version",
            "description": "<p>固定值goods</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "shipping_file",
            "description": "<p>运费CSV文件</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "CSV文件格式:",
          "content": "Parent Unique Id(必填,主产品SKU),BE(国家缩写),FR(国家缩写),CN(国家缩写)\ndemo2019,1,0,5",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "ShippingFeeUpdate",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/ShippingFeeUpdate",
    "title": "编辑国际运费",
    "description": "<p>编辑商品国际运费，根据客户选择收获国家不同自动计算对应国家运费。</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goodsId",
            "description": "<p>商品ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "shippingList",
            "description": "<p>地区运费列表</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "shippingList[0][region_id]:      3925    #地区1ID\nshippingList[0][shipping_fee]:   5       #地区1运费\nshippingList[1][region_id]:      3926    #地区2ID\nshippingList[1][shipping_fee]:   10      #地区2运费",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "batchAddImg",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/batchAddImg/upload",
    "title": "批量添加商品图片",
    "description": "<p>批量添加商品图片。</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "platform_version",
            "description": "<p>固定值vova_BatchAddImg</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "goods_info_file",
            "description": "<p>产品图片CSV文件</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "CSV格式:",
          "content": "Parent SKU,SKU,SKU Image URL,Extra Image URL 1,Extra Image URL 2,Extra Image URL 3,Extra Image URL 4,Extra Image URL 5,Extra Image URL 6,Extra Image URL 7,Extra Image URL 8,Extra Image URL 9,Extra Image URL 10,Extra Image URL 11,Extra Image URL 12,Extra Image URL 13,Extra Image URL 14,Extra Image URL 15,Extra Image URL 16,Extra Image URL 17,Extra Image URL 18,Extra Image URL 19,Extra Image URL 20",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>批量上架/下架成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "batchUpdateProduct",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/update",
    "title": "批量编辑商品（价格，运费，库存）",
    "description": "<p>批量编辑商品，包括同时更新多个产品的价格，运费，库存。</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "sku_update_info",
            "description": "<p>要更新数据。</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "sku_update_info[0][goods_id]:        8115943     #主产品ID\ngoods_info[0][goods_sku]:            demo2019001 #产品ID\ngoods_info[0][sku_id]:               57322967    #子产品ID\ngoods_info[0][attrs][shop_price]:    2.00        #价格\ngoods_info[0][attrs][shipping_fee]:  1           #运费\ngoods_info[0][attrs][storage]:       5           #库存",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "batchUpdateStock",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/batchUpdate",
    "title": "批量上架 & 下架",
    "description": "<p>产品批量上架下架</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "batchArr",
            "description": "<p>批量上架或下架产品。</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "batchArr[0][goods_id]: 8115943   #产品ID\nbatchArr[0][is_check]: true      #true上架，false下架\nbatchArr[1][goods_id]: 8115944\nbatchArr[1][is_check]: false",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>批量上架/下架成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "deleteGoods",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/deleteProduct/deleteGoods",
    "title": "批量删除商品",
    "description": "<p>删除商品。<ol><li>每行一个网站产品ID</li><li>不能删除在架商品和锁定商品</li><li>删除后预计4小时内在网站生效</li></ol></p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "deleteGoodsData",
            "description": "<p>要删除商品ID，一行一个。</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "act",
            "description": "<p>固定值deleteGoods。</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "act: deleteGoods\ndeleteGoodsData: 1006887\n                 1006888\n                 1006889",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "editAttachedAttribute",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/editAttachedAttribute/upload",
    "title": "批量编辑附加属性",
    "description": "<p>产品批量编辑附加属性，附加属性名以及附加属性值均已由平台指定好，只能在其中进行挑选进行编辑。附加属性以及附加属性值参考: https://merchant.vova.com.hk/index.php?q=admin/main/editAttachedAttribute/index</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "ignoreWaring",
            "description": "<p>固定值false</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "attached_attribute_file",
            "description": "<p>附加属性CSV文件</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "CSV格式:",
          "content": "Parent SKU,附加属性名,附加属性值\ndemo2019,仓库属性,美国海外仓",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>批量上架/下架成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "editGoodsCategory",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/editProducts/upload",
    "title": "批量修改产品分类",
    "description": "<p>批量修改产品分类。<ol><li>数据一行一条</li><li>每行分三部分：网站产品ID分隔符Vova Category ID</li><li>分隔符可以是半角空格或半角逗号(,)或半角分号(;)</li><li>更新成功后预计4小时内生效</li></ol></p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "csvdata",
            "description": "<p>产品-新分类信息，格式：产品id,新分类ID。</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "act",
            "description": "<p>固定值editGoodsCategory。</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "csvdata: 12323,432\n         12123,4323\n         12223;1323\nact:     editGoodsCategory",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "editGoodsDesc",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/editGoodsDesc",
    "title": "编辑商品描述",
    "description": "<p>编辑商品描述</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "parent_sku",
            "description": "<p>父SKU，VOVA平台以父SKU对商品进行区分，一个父SKU下可能包含多个不同SKU组合商品。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "goods_desc",
            "description": "<p>新描述信息，英文。</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "editGoodsName",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/editGoodsName",
    "title": "编辑商品名称",
    "description": "<p>编辑商品名称</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品ID</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "original_goods_name",
            "description": "<p>原商品名称。</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "goods_name",
            "description": "<p>新商品名称。</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "editShippingPrice",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/editShippingPrice",
    "title": "编辑价格和运费",
    "description": "<p>编辑商品价格和运费</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品ID</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "parent_sku",
            "description": "<p>父SKU，VOVA平台以父SKU对商品进行区分，一个父SKU下可能包含多个不同SKU组合商品。</p>"
          },
          {
            "group": "Parameter",
            "type": "Float",
            "optional": false,
            "field": "shop_price",
            "description": "<p>售卖价格</p>"
          },
          {
            "group": "Parameter",
            "type": "Float",
            "optional": false,
            "field": "shipping_fee",
            "description": "<p>运费</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "editSizeChart",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/editSizeChart",
    "title": "编辑尺码",
    "description": "<p>编辑商品尺码</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ajax",
            "description": "<p>固定值true</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "virtualGoodsId",
            "description": "<p>商品ID。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": "<p>尺码数据，格式:[[&quot;Label&quot;,&quot;VALUE1&quot;,&quot;VALUE2&quot;,&quot;VALUE3&quot;, ..., &quot;VALUE-N&quot;]]</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "data: [[\"Size\",\"S\",\"M\",\"L\"],[\"Length\",\"10\",\"15\",\"20\"]]",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "manualUploadGoods",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/uploadGoods/manualUploadGoods",
    "title": "添加商品-手动",
    "description": "<p>手动上传商品</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "cat_id",
            "description": "<p>商品所属分类ID</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "goods_name",
            "description": "<p>商品名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "parent_sku",
            "description": "<p>父SKU，VOVA平台以父SKU对商品进行区分，一个父SKU下可能包含多个不同SKU组合商品。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "main_image_url",
            "description": "<p>商品主图URL，支持格式：BMP, PNG, JPG, GIF，图片宽高必须大于400px * 400px。main_image_url 和 main_image 二选一。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "main_image",
            "description": "<p>商品主图（本地上传），支持格式：BMP, PNG, JPG, GIF，图片宽高必须大于400px * 400px。main_image_url 和 main_image 二选一。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "shipping_weight",
            "description": "<p>商品承运重量。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "shipping_time",
            "description": "<p>运输时长。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "goods_description",
            "description": "<p>商品描述，需要全英文。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "tags",
            "description": "<p>商品标签，需要全英文。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "platform_version",
            "description": "<p>平台信息，固定值vova_manual。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "sku_info",
            "description": "<p>子商品信息，格式：[[sku,售价,市场价,运费,库存,尺码,颜色,款式数量,子产品图片URL地址,子产品图片上传地址],...]</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "image[0-19]",
            "description": "<p>暂不知道作用.</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "offShelves",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/offShelves",
    "title": "编辑商品上架 & 下架",
    "description": "<p>产品上架下架</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品ID。</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "action",
            "description": "<p>固定值: &quot;on&quot;上架或&quot;off&quot;下架。</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "productImageList",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/getSkuInfo",
    "title": "商品图片",
    "description": "<p>商品图片</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_id",
            "description": "<p>商品ID</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "code",
            "description": "<p>状态码</p>"
          },
          {
            "group": "Success 200",
            "type": "Array",
            "optional": false,
            "field": "img_list",
            "description": "<p>图片列表</p>"
          },
          {
            "group": "Success 200",
            "type": "Array",
            "optional": false,
            "field": "sku_list",
            "description": "<p>图片列表（带SKU）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\": \"OK\",\n     \"img_list\": [\n         {\n             \"img_id\": \"92584960\",\n             \"img_url\": \"28\\/c6\\/5bbb34759a26ea17aa161d7d1c2828c6.jpg\",\n             \"sequence\": \"1\",\n             \"img_shape\": \"filler\"\n         },\n         {\n             \"img_id\": \"92637049\",\n             \"img_url\": \"c6\\/98\\/8ba29e6143f71febd1fcf47b97a3c698.jpg\",\n             \"sequence\": \"2\",\n             \"img_shape\": \"filler\"\n         }\n     ],\n     \"sku_list\": [\n         {\n             \"old_goods_id\": \"999999\",\n             \"sku_id\": \"62262541\",\n             \"pdd_sku\": \"999999\",\n             \"img_id\": \"92637049\",\n             \"img_url\": \"c6\\/98\\/8ba29e6143f71febd1fcf47b97a3c698.jpg\",\n             \"img_shape\": \"filler\",\n             \"style_info\": \"color:Red,size:7\"\n         }\n     ]\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>错误码</p>"
          },
          {
            "group": "Error 4xx",
            "type": "String",
            "optional": false,
            "field": "msg",
            "description": "<p>错误信息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response",
          "content": "HTTP/1.1 200 OK\n{\n     \"code\":\"ERROR\",\n     \"msg\":\"\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "productList",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/filter",
    "title": "商品列表",
    "description": "<p>商品列表</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "middle_east_sale",
            "description": "<p>留空即可</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "goods_state_filter",
            "description": "<p>产品状态: <ul><li>no_goods无状态</li><li>only_on_sale已上架</li><li>only_off_sale已下架</li><li>only_wait_for_check待上架</li><li>on_sale_and_off_sale已上架和已下架</li><li>on_sale_and_wait_for_check已上架和待上架</li><li>off_sale_and_wait_for_check已下架和待上架</li><li>on_sale_and_off_sale_and_wait_for_check已上架和已下架和待上架</li></ul></p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ban_status",
            "description": "<p>禁售状态：<ul><li>all_goods 所有状态</li><li>banned 已禁售</li><li>unbanned 未禁售</li></ul></p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_clone",
            "description": "<p>推荐商品：<ul><li>0 未推荐</li><li>1 推荐</li></ul></p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_view",
            "description": "<p>浏览：<ul><li>0 未选中</li><li>1 选中</li></ul></p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "goods_promotion",
            "description": "<p>锁定状态：<ul><li>all_goods 所有状态</li><li>no_goods 无状态</li><li>only_on_promotion 已锁定</li><li>only_not_promotion 未锁定</li></ul></p>"
          },
          {
            "group": "Parameter",
            "type": "Array",
            "optional": false,
            "field": "search",
            "description": "<p>产品检索。<ul><li>search[search_type]，包括以下值：<ul><li>product_id 按产品ID检索</li><li>product_name 按产品名称检索</li><li>product_sku 按子SKU检索</li><li>parent_sku 按父SKU检索</li><li>cat_id 按商品分类ID检索</li></ul></li><li>search[search_keywords]检索值</li></ul></p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "batchArr[0][goods_id]: 8115943   #产品ID\nbatchArr[0][is_check]: true      #true上架，false下架\nbatchArr[1][goods_id]: 8115944\nbatchArr[1][is_check]: false",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "code",
            "description": "<p>状态码</p>"
          },
          {
            "group": "Success 200",
            "type": "Array",
            "optional": false,
            "field": "product_list",
            "description": "<p>产品列表</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "state_filter",
            "description": "<p>过滤条件</p>"
          },
          {
            "group": "Success 200",
            "type": "Array",
            "optional": false,
            "field": "cat_list",
            "description": "<p>产品分类列表</p>"
          },
          {
            "group": "Success 200",
            "type": "Json",
            "optional": false,
            "field": "pageArr",
            "description": "<p>分页信息</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "merchant_id",
            "description": "<p>商户ID</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response",
          "content": "HTTP/1.1 200 OK\n{\n \"code\": 1,\n \"product_list\": [{\n     \"goods_id\": \"8839165\",\n     \"virtual_goods_id\": \"8839165\",\n     \"goods_sn\": \"SN155566163395813628224128\",\n     \"old_goods_id\": \"999999\",\n     \"goods_name\": \"Product Test\",\n     \"goods_desc\": \"test 0422 desc\",\n     \"is_on_sale\": 0,\n     \"is_display\": \"1\",\n     \"last_update_time\": \"2019-04-22 06:59:59\",\n     \"add_time\": \"2019-04-19 08:13:53\",\n     \"cat_id\": \"5784\",\n     \"img_shape\": \"filler\",\n     \"goods_thumb\": \"28\\/c6\\/5bbb34759a26ea17aa161d7d1c2828c6.jpg\",\n     \"collection_merchant_id\": null,\n     \"is_join_middle_east\": \"0\",\n     \"is_cloned\": \"0\",\n     \"sale_status\": \"normal\",\n     \"favor_num\": 0,\n     \"sale_num\": \"0\",\n     \"avg_sold_price\": null,\n     \"view_num\": null,\n     \"sku_list\": [{\n         \"sku_id\": \"62262541\",\n         \"shop_price\": \"39.49\",\n         \"storage\": \"55\",\n         \"sale_num\": \"0\",\n         \"pdd_sku\": \"999999\",\n         \"is_remains\": \"1\",\n         \"is_delete\": \"0\",\n         \"shipping_fee\": \"2.50\",\n         \"style_info\": \"color:Red,size:7\"\n     }],\n     \"sku_list_length\": 1,\n     \"guide_price\": \"\",\n     \"can_edit_name\": true,\n     \"middle_east_on_sale\": 1,\n     \"cgnj_id\": null,\n     \"attached_info\": \"\\u65e0\",\n     \"ban_note\": \"\",\n     \"prom_type\": \"\",\n     \"prom_type_for_show\": \"\",\n     \"display_status\": 0\n }],\n \"state_filter\": \"off_sale_and_wait_for_check\",\n \"finished_excel_id\": 0,\n \"finished_excel_list\": [],\n \"cat_list\": [\n     {\n         \"cat_id\": \"1\",\n         \"cat_name\": \"Category Root\",\n         \"parent_id\": \"0\",\n         \"depth\": 0,\n         \"blank\": \"\"\n     },\n     {\n         \"cat_id\": \"194\",\n         \"cat_name\": \"Women's Clothing\",\n         \"parent_id\": \"1\",\n         \"depth\": 1,\n         \"blank\": \"\"\n     },\n     {\n         \"cat_id\": \"159\",\n         \"cat_name\": \"Clothing\",\n         \"parent_id\": \"194\",\n         \"depth\": 2,\n         \"blank\": \"\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"164\",\n         \"cat_name\": \"Blouses\",\n         \"parent_id\": \"159\",\n         \"depth\": 3,\n         \"blank\": \"\\u3000\\u3000\\u3000\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"168\",\n         \"cat_name\": \"T-shirts\",\n         \"parent_id\": \"159\",\n         \"depth\": 3,\n         \"blank\": \"\\u3000\\u3000\\u3000\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"172\",\n         \"cat_name\": \"Skirts\",\n         \"parent_id\": \"159\",\n         \"depth\": 3,\n         \"blank\": \"\\u3000\\u3000\\u3000\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"174\",\n         \"cat_name\": \"Pants & Leggings\",\n         \"parent_id\": \"159\",\n         \"depth\": 3,\n         \"blank\": \"\\u3000\\u3000\\u3000\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"162\",\n         \"cat_name\": \"Shoes\",\n         \"parent_id\": \"194\",\n         \"depth\": 2,\n         \"blank\": \"\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"165\",\n         \"cat_name\": \"T-Shirts\",\n         \"parent_id\": \"194\",\n         \"depth\": 2,\n         \"blank\": \"\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"166\",\n         \"cat_name\": \"Skirts\",\n         \"parent_id\": \"194\",\n         \"depth\": 2,\n         \"blank\": \"\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"171\",\n         \"cat_name\": \"Coats\",\n         \"parent_id\": \"194\",\n         \"depth\": 2,\n         \"blank\": \"\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"173\",\n         \"cat_name\": \"Jumpsuits & Rompers\",\n         \"parent_id\": \"194\",\n         \"depth\": 2,\n         \"blank\": \"\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"195\",\n         \"cat_name\": \"Dresses\",\n         \"parent_id\": \"194\",\n         \"depth\": 2,\n         \"blank\": \"\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"3001\",\n         \"cat_name\": \"Swimwear\",\n         \"parent_id\": \"194\",\n         \"depth\": 2,\n         \"blank\": \"\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"3004\",\n         \"cat_name\": \"Pullover Sweaters & Cardigans\",\n         \"parent_id\": \"194\",\n         \"depth\": 2,\n         \"blank\": \"\\u3000\\u3000\\u3000\"\n     },\n     {\n         \"cat_id\": \"163\",\n         \"cat_name\": \"Sweatshirts\",\n         \"parent_id\": \"3004\",\n         \"depth\": 3,\n         \"blank\": \"\\u3000\\u3000\\u3000\\u3000\\u3000\\u3000\"\n     },\n ],\n\"pageArr\": {\n     \"page\": 1,\n     \"totalPage\": 1,\n     \"totalAmount\": \"1\",\n     \"perPage\": 100,\n     \"pager\": \"<div class=\\\"page_bar\\\"><a class=\\\"page_total\\\" title=\\\"total\\/perPage\\\">&nbsp;1\\/100&nbsp;<\\/a><a class=\\\"page_pages\\\" title=\\\"page\\/pages\\\">&nbsp;1\\/1&nbsp;<\\/a><a href=\\\"\\/index.php?q=admin\\/main\\/product\\/filter&page=1\\\" class=\\\"page_redirect\\\" title=\\\"the first page\\\">&#171;<\\/a><a href=\\\"\\/index.php?q=admin\\/main\\/product\\/filter&page=1\\\" title=\\\" prev page 1 \\\" class=\\\"page_redirect\\\">&#139;<\\/a><a href=\\\"\\/index.php?q=admin\\/main\\/product\\/filter&page=1\\\" title=\\\" page 1 \\\" class=\\\"page_current\\\">1<\\/a><a href=\\\"\\/index.php?q=admin\\/main\\/product\\/filter&page=1\\\" title=\\\" next page 1 \\\" class=\\\"page_redirect\\\">&#155;<\\/a><a href=\\\"\\/index.php?q=admin\\/main\\/product\\/filter&page=1\\\" title=\\\" last page 1 \\\" class=\\\"page_redirect\\\">&#187;<\\/a><a class=\\\"page_pages page_a_input\\\">current page:<input type=\\\"text\\\" class=\\\"page_input\\\" name=\\\"page\\\" value=\\\"1\\\" size=\\\"5\\\" onFocus=\\\"this.select();\\\" onBlur=\\\"if(this.value != 1 && this.value >= 1 && this.value <= 1){location.href='\\/index.php?q=admin\\/main\\/product\\/filter&page=' + this.value + '';}else{this.value = 1;}\\\" onkeydown=\\\"if (event.keyCode == 13){if(this.value != 1 && this.value >= 1 && this.value <= 1){location.href='\\/index.php?q=admin\\/main\\/product\\/filter&page=' + this.value + '';}else{this.value = 1;}}\\\" title=\\\" current page \\\" \\/><\\/a><a class=\\\"page_pages page_a_input\\\">per page:<select class=\\\"page_input\\\" name=\\\"perPage\\\" onchange=\\\"if(this.value != 100 && this.value >= 1){location.href='\\/index.php?q=admin\\/main\\/product\\/filter&perPage=' + this.value + '';}else{this.value = 100;}\\\" title=\\\" per page \\\" \\/><option value=\\\"20\\\">20<\\/option><option value=\\\"50\\\">50<\\/option><option value=\\\"100\\\" selected>100<\\/option><option value=\\\"500\\\">500<\\/option><option value=\\\"1000\\\">1000<\\/option><option value=\\\"2000\\\">2000<\\/option><option value=\\\"100000\\\">ALL<\\/option><\\/select><\\/a><\\/div>\"\n},\n\"merchant_id\": 13567,\n\"alertRes\": \"\"\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "updateInventory",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/updateInventory/upload",
    "title": "批量编辑商品库存",
    "description": "<p>批量编辑商品库存</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "act",
            "description": "<p>固定值upload。</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "inventory_info_file",
            "description": "<p>CSV批量修改文件。</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "CSV格式:",
          "content": "父SKU,SKU,Quantity\ndemo2019,test2019329,10",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "updateStock",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/product/update",
    "title": "编辑商品库存",
    "description": "<p>编辑商品库存</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "goods_info",
            "description": "<p>更新信息。</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "POST-Request-Example:",
          "content": "goods_info[0][goods_id]:         8110238     #商品ID\ngoods_info[0][goods_sku]:        demo1       #商品子SKU\ngoods_info[0][sku_id]:           57297879    #子商品ID\ngoods_info[0][attrs][storage]:   2           #新库存数",
          "type": "POST"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  },
  {
    "name": "upload_CSV_",
    "version": "0.0.1",
    "group": "Product",
    "type": "POST",
    "url": "index.php?q=admin/main/uploadGoods/upload",
    "title": "批量添加商品-CSV上传",
    "description": "<p>批量上传商品CSV</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "goods_info_file",
            "description": "<p>商品CSV文件。支持类型包括：<a href=\"https://merchant.vova.com.hk/userfiles/templates/Vova-%E7%A4%BA%E4%BE%8B.xlsx\">VOVA模板</a>、<a href=\"https://merchant.vova.com.hk/userfiles/templates/Wish%E5%8E%9F%E7%89%88-%E7%A4%BA%E4%BE%8B.xlsx\">WISH模板</a>、<a href=\"https://merchant.vova.com.hk/userfiles/templates/Wish%E5%BA%97%E5%B0%8F%E7%A7%98-%E7%A4%BA%E4%BE%8B.xlsx\">WISH店小秘模板</a>、<a href=\"https://merchant.vova.com.hk/userfiles/templates/Wish%E8%8A%92%E6%9E%9C%E5%BA%97%E9%95%BF-%E7%A4%BA%E4%BE%8B.xlsx\">WISH芒果店长模板</a>、<a href=\"https://merchant.vova.com.hk/userfiles/templates/Joom%E5%8E%9F%E7%89%88-%E7%A4%BA%E4%BE%8B.xlsx\">Joom模板</a></p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "platform_version",
            "description": "<p>模板类型，固定值vova_Original。</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "warningFlag",
            "description": "<p>固定值false</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "optional": false,
            "field": "SuccessMessage",
            "description": "<p>上传成功</p>"
          }
        ]
      }
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "ErrorMessage",
            "description": "<p>错误消息</p>"
          }
        ]
      }
    },
    "filename": "source/Product.php",
    "groupTitle": "Vova商品接口"
  }
] });
